import {DocConfig,LastDocConfig} from './define';

export default [
	{
		name:'组件',
		icon:'widgets',
		value:'components',
		children:[
			{name:'按钮',value:'button'},
			{
				name:'表单控件',
				value:'form',
				children:[
					{name:'输入框',value:'input'},
					{name:'搜索组件',value:'search'},
					{name:'单选框',value:'radio'},
					{name:'复选框',value:'checkbox'},
					{name:'选择器',value:'picker'},
				],
			},
			{name:'轻提示',value:'toast'},
			{name:'弹出层',value:'popup'},
			{name:'弹窗',value:'modal'},
		]
	},{
		name:'指令',
		icon:'swap_calls',
		value:'directive',
		children:[
		]
	},{
		name:'工具',
		icon:'healing',
		value:'util',
		children:[
			{name:'通用',value:'common',common:true},
			{name:'格式化',value:'format',common:true},
			{name:'storage缓存',value:'storage',common:true},
			{name:'vuex工具',value:'vuex',common:true},
			{name:'app端特有',value:'app'},
			{name:'线程池',value:'worker',common:true},
			{name:'测试页面',value:'test',common:true},
		]
	},
] as Array<DocConfig|LastDocConfig>;
